package service

import "gin-worked/app/common/model"

func UserInfoDetails(id int) Res {

	data := &model.UserInfo{
		UserId: id,
	}

	field := []string{"id", "user_id", "name", "nickname", "head_img", "tel", "sex", "is_bind", "is_real", "email", "create_time"}
	info, _ := model.UserInfoDetails(data, field)

	return Res{1, "success", info}
}
